import JointConfig from "./joint-config";
import SpringDamper from "./spring-damper";
import Method from "../../common/method";


export default class SphericalJointConfig extends JointConfig{
    constructor() {
        super();
        this.springDamper = new SpringDamper();
    }
    init(rigidBody1,rigidBody2,_worldAnchor) {
        let worldAnchor=Method.convertVec3(_worldAnchor);
        this._init(rigidBody1,rigidBody2,worldAnchor);
        return this;
    }
}